package com.lzh.dlykserver.mapper;

import com.lzh.dlykserver.commons.DataScope;
import com.lzh.dlykserver.entity.TClueRemark;
import com.lzh.dlykserver.entity.TCustomerRemark;
import com.lzh.dlykserver.query.CustomerQuery;

import java.util.List;

/**
 * @author 墨墨
 * @description 针对表【t_customer_remark(客户跟踪记录表)】的数据库操作Mapper
 * @createDate 2024-07-24 09:57:15
 * @Entity com.lzh.dlykserver.entity.TCustomerRemark
 */
public interface TCustomerRemarkMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TCustomerRemark record);

    int insertSelective(TCustomerRemark record);

    TCustomerRemark selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TCustomerRemark record);

    int updateByPrimaryKey(TCustomerRemark record);

    @DataScope(tableAlias = "tcr", tableField = "create_by")
    List<TClueRemark> selectCustomerRemarkByPage(CustomerQuery customerQuery);
}
